package com.scx.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.scx.entity.VoucherOrder;
import com.scx.result.Result;

/**
 *  优惠券订单服务类
 */
public interface IVoucherOrderService extends IService<VoucherOrder> {

    /**
     * 优惠券秒杀
     * @param voucherId
     * @return
     */
    Result seckillVoucher(Long voucherId);

    void createVoucherOrder(VoucherOrder voucherOrder);
}
